<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="UTF-8">
		<title>学生学习情况管理</title>
	</head>
	<link rel="stylesheet" type="text/css" href="js/jqeasyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="js/jqeasyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="js/jqeasyui/themes/color.css">
	<script type="text/javascript" src="js/jqeasyui/jquery.min.js"></script>
	<script type="text/javascript" src="js/jqeasyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="js/jqeasyui/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript">
		function newPage(){
			window.open('addstudy.html','newwindow','height=400,width=450,top=300,left=800,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
		}
		
	</script>
	<style>
		body{
			margin: 0px;
		}
		a{
			text-decoration: none;
		}
	</style>
	<body>
	<div style="width:700px;height:500px ;">	
	<div class="easyui-panel" title="学生学习情况管理" style="width:700px; height:80px">
		<div style="float: right; margin:10px; width: 400px;" >
		<input  class="easyui-textbox" type="text"  name="adminid" id="adminid"/>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" style="width:20%">查询</a>
		</div>
	</div>
	<table id="dg" style="height: 84%;"  
			data-options="rownumbers:true,singleSelect:true,pagination:true,method:'get'">
		<thead>
			<tr>
				<th data-options="field:'ck',checkbox:true,align:'center'"></th>
				<th data-options="field:'itemid',width:80,align:'center'">学号</th>
				<th data-options="field:'productid',width:100,align:'center'">姓名</th>
				<th data-options="field:'listprice',width:100,align:'center'">科目</th>
				<th data-options="field:'unitcost',width:100,align:'center'">成绩</th>
				<th data-options="field:'phonenumber',width:160,align:'center'">教师评价</th>
				<th data-options="field:'attr1',width:100,align:'center'"></th>
				
				
			</tr>
			
		</thead>
			<tr>
				<td ></td>
				<td >Item ID</td>
				<td >Product</td>
				<td >List Price</td>
				<td >Unit Cost</td>
				<td >Unit Cost</td>
				<td ><a href="#" onclick="newPage()">编辑</a>&nbsp;&nbsp;&nbsp;<a href="#">删除</a></td>	
			</tr>
			<tr>
				<td ></td>
				<td >Item ID</td>
				<td >Product</td>
				<td >List Price</td>
				<td >Unit Cost</td>
				<td >Unit Cost</td>
				<td ><a href="#" onclick="newPage()">编辑</a>&nbsp;&nbsp;&nbsp;<a href="#">删除</a></td>	
			</tr>
			<tr>
				<td ></td>
				<td >Item ID</td>
				<td >Product</td>
				<td >List Price</td>
				<td >Unit Cost</td>
				<td >Unit Cost</td>
				<td ><a href="#" onclick="newPage()">编辑</a>&nbsp;&nbsp;&nbsp;<a href="#">删除</a></td>	
			</tr>
			<tr>
				<td ></td>
				<td >Item ID</td>
				<td >Product</td>
				<td >List Price</td>
				<td >Unit Cost</td>
				<td >Unit Cost</td>
				<td ><a href="#" onclick="newPage()">编辑</a>&nbsp;&nbsp;&nbsp;<a href="#">删除</a></td>	
			</tr>
			
	</table>
	</div>
	<script type="text/javascript">
		$(function(){
			var pager = $('#dg').datagrid().datagrid('getPager');	// get the pager of datagrid
			pager.pagination({
				
			});			
		})
		$('#dg').datagrid({singleSelect:(this.value==1)})
	</script>
	</body>
</html>

